import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const store = new Vuex.Store({
	// state: {
 //      VuexUserData:uni.getStorageSync('_USER_') ? uni.getStorageSync('_USER_'): null,  //用户信息
	//   CurrentClient:uni.getStorageSync('CurrentClient') ? uni.getStorageSync('CurrentClient'): 3,  //判断当前客户端类型  0:用户端  1：师傅端
 //  }, 
	// mutations: {
	// 	CommitCurrentClient(state,clilen){
	// 		state.CurrentClient=clilen;
	// 		uni.setStorageSync('CurrentClient',clilen);
	// 	}
	// }
})

export default store